package dltec.job;

public class Person {
	
	//创建Person类，包含属性：身份证号、姓名、年龄；
	private String name;
	
	private String IDcard;
	
	private int age;
	
	public Person() {

	}

	public Person(String name, String iDcard, int age) {
		super();
		this.name = name;
		IDcard = iDcard;
		this.age = age;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIDcard() {
		return IDcard;
	}

	public void setIDcard(String iDcard) {
		IDcard = iDcard;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	@Override
	public String toString() {
		return "[name=" + name + ", IDcard=" + IDcard + ", age=" + age + "]";
	}
	
	
	

}
